#pragma once
#include "DeviceBase.h"

namespace RobotPlant { namespace RobotProxy{
	using namespace std;
	using namespace boost::join;
	using namespace RobotPlant::Common;

	/*
	The Sonar Device enables you to access data from a sonar sensor, 
	including information about the current distance measurement and angular range and resolution. 
	Sonar sensors use sound waves (typically ultrasonic) to determine distance. 
	Since some materials can absorb sounds or may bounce off outside the incoming detector's range, 
	the sensor can be unreliable when used by itself. 
	Therefore multiple sonar sensors are generally used in a ring-like arrangement to make up for some of these limitations.
	*/
	class RP_ROBOTPROXY_API SonarDevice : public DeviceBase
	{
	protected:

	public:
		/*
		Constructor
		*/
		SonarDevice(RobotInstance* pParent,joint::spawn_type e=0);

		~SonarDevice();

	protected:
	};
}}
